package com.giscloud.upload.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 附件表
 *
 * @author giscloud
 * @email giscloud@giscloud.com
 * @date 2020-06-10 15:39:39
 */
public class AttachmentExample {
    protected String orderByClause;
    protected boolean distinct;
    protected List<Criteria> oredCriteria;
    public AttachmentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }
    public String getOrderByClause() {
        return orderByClause;
    }
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }
    public boolean isDistinct() {
        return distinct;
    }
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

                                    public Criteria andAttachmentIdIsNull() {
                    addCriterion("attachment_id is null");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdIsNotNull() {
                    addCriterion("attachment_id is not null");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdEqualTo(Integer value) {
                    addCriterion("attachment_id =", value, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdNotEqualTo(Integer value) {
                    addCriterion("attachment_id <>", value, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdGreaterThan(Integer value) {
                    addCriterion("attachment_id >", value, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdGreaterThanOrEqualTo(Integer value) {
                    addCriterion("attachment_id >=", value, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdLessThan(Integer value) {
                    addCriterion("attachment_id <", value, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdLessThanOrEqualTo(Integer value) {
                    addCriterion("attachment_id <=", value, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdIn(List<Integer> values) {
                    addCriterion("attachment_id in", values, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdNotIn(List<Integer> values) {
                    addCriterion("attachment_id not in", values, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdBetween(Integer value1, Integer value2) {
                    addCriterion("attachment_id between", value1, value2, "attachmentId");
                    return (Criteria) this;
                }

                public Criteria andAttachmentIdNotBetween(Integer value1, Integer value2) {
                    addCriterion("attachment_id not between", value1, value2, "attachmentId");
                    return (Criteria) this;
                }
                            public Criteria andAttachmentNameLike(String value) {
                    addCriterion("attachment_name like", value, "attachmentName");
                    return (Criteria) this;
                }

                public Criteria andAttachmentNameNotLike(String value) {
                    addCriterion("attachment_name not like", value, "attachmentName");
                    return (Criteria) this;
                }
                            public Criteria andAttachmentNameIsNull() {
                    addCriterion("attachment_name is null");
                    return (Criteria) this;
                }

                public Criteria andAttachmentNameIsNotNull() {
                    addCriterion("attachment_name is not null");
                    return (Criteria) this;
                }

                public Criteria andAttachmentNameEqualTo(String value) {
                    addCriterion("attachment_name =", value, "attachmentName");
                    return (Criteria) this;
                }

                public Criteria andAttachmentNameNotEqualTo(String value) {
                    addCriterion("attachment_name <>", value, "attachmentName");
                    return (Criteria) this;
                }

                public Criteria andAttachmentNameGreaterThan(String value) {
                    addCriterion("attachment_name >", value, "attachmentName");
                    return (Criteria) this;
                }

                public Criteria andAttachmentNameGreaterThanOrEqualTo(String value) {
                    addCriterion("attachment_name >=", value, "attachmentName");
                    return (Criteria) this;
                }

                public Criteria andAttachmentNameLessThan(String value) {
                    addCriterion("attachment_name <", value, "attachmentName");
                    return (Criteria) this;
                }

                public Criteria andAttachmentNameLessThanOrEqualTo(String value) {
                    addCriterion("attachment_name <=", value, "attachmentName");
                    return (Criteria) this;
                }

                public Criteria andAttachmentNameIn(List<String> values) {
                    addCriterion("attachment_name in", values, "attachmentName");
                    return (Criteria) this;
                }

                public Criteria andAttachmentNameNotIn(List<String> values) {
                    addCriterion("attachment_name not in", values, "attachmentName");
                    return (Criteria) this;
                }

                public Criteria andAttachmentNameBetween(String value1, String value2) {
                    addCriterion("attachment_name between", value1, value2, "attachmentName");
                    return (Criteria) this;
                }

                public Criteria andAttachmentNameNotBetween(String value1, String value2) {
                    addCriterion("attachment_name not between", value1, value2, "attachmentName");
                    return (Criteria) this;
                }
                            public Criteria andAttachmentUrlLike(String value) {
                    addCriterion("attachment_url like", value, "attachmentUrl");
                    return (Criteria) this;
                }

                public Criteria andAttachmentUrlNotLike(String value) {
                    addCriterion("attachment_url not like", value, "attachmentUrl");
                    return (Criteria) this;
                }
                            public Criteria andAttachmentUrlIsNull() {
                    addCriterion("attachment_url is null");
                    return (Criteria) this;
                }

                public Criteria andAttachmentUrlIsNotNull() {
                    addCriterion("attachment_url is not null");
                    return (Criteria) this;
                }

                public Criteria andAttachmentUrlEqualTo(String value) {
                    addCriterion("attachment_url =", value, "attachmentUrl");
                    return (Criteria) this;
                }

                public Criteria andAttachmentUrlNotEqualTo(String value) {
                    addCriterion("attachment_url <>", value, "attachmentUrl");
                    return (Criteria) this;
                }

                public Criteria andAttachmentUrlGreaterThan(String value) {
                    addCriterion("attachment_url >", value, "attachmentUrl");
                    return (Criteria) this;
                }

                public Criteria andAttachmentUrlGreaterThanOrEqualTo(String value) {
                    addCriterion("attachment_url >=", value, "attachmentUrl");
                    return (Criteria) this;
                }

                public Criteria andAttachmentUrlLessThan(String value) {
                    addCriterion("attachment_url <", value, "attachmentUrl");
                    return (Criteria) this;
                }

                public Criteria andAttachmentUrlLessThanOrEqualTo(String value) {
                    addCriterion("attachment_url <=", value, "attachmentUrl");
                    return (Criteria) this;
                }

                public Criteria andAttachmentUrlIn(List<String> values) {
                    addCriterion("attachment_url in", values, "attachmentUrl");
                    return (Criteria) this;
                }

                public Criteria andAttachmentUrlNotIn(List<String> values) {
                    addCriterion("attachment_url not in", values, "attachmentUrl");
                    return (Criteria) this;
                }

                public Criteria andAttachmentUrlBetween(String value1, String value2) {
                    addCriterion("attachment_url between", value1, value2, "attachmentUrl");
                    return (Criteria) this;
                }

                public Criteria andAttachmentUrlNotBetween(String value1, String value2) {
                    addCriterion("attachment_url not between", value1, value2, "attachmentUrl");
                    return (Criteria) this;
                }
                            public Criteria andAttachmentTypeLike(String value) {
                    addCriterion("attachment_type like", value, "attachmentType");
                    return (Criteria) this;
                }

                public Criteria andAttachmentTypeNotLike(String value) {
                    addCriterion("attachment_type not like", value, "attachmentType");
                    return (Criteria) this;
                }
                            public Criteria andAttachmentTypeIsNull() {
                    addCriterion("attachment_type is null");
                    return (Criteria) this;
                }

                public Criteria andAttachmentTypeIsNotNull() {
                    addCriterion("attachment_type is not null");
                    return (Criteria) this;
                }

                public Criteria andAttachmentTypeEqualTo(String value) {
                    addCriterion("attachment_type =", value, "attachmentType");
                    return (Criteria) this;
                }

                public Criteria andAttachmentTypeNotEqualTo(String value) {
                    addCriterion("attachment_type <>", value, "attachmentType");
                    return (Criteria) this;
                }

                public Criteria andAttachmentTypeGreaterThan(String value) {
                    addCriterion("attachment_type >", value, "attachmentType");
                    return (Criteria) this;
                }

                public Criteria andAttachmentTypeGreaterThanOrEqualTo(String value) {
                    addCriterion("attachment_type >=", value, "attachmentType");
                    return (Criteria) this;
                }

                public Criteria andAttachmentTypeLessThan(String value) {
                    addCriterion("attachment_type <", value, "attachmentType");
                    return (Criteria) this;
                }

                public Criteria andAttachmentTypeLessThanOrEqualTo(String value) {
                    addCriterion("attachment_type <=", value, "attachmentType");
                    return (Criteria) this;
                }

                public Criteria andAttachmentTypeIn(List<String> values) {
                    addCriterion("attachment_type in", values, "attachmentType");
                    return (Criteria) this;
                }

                public Criteria andAttachmentTypeNotIn(List<String> values) {
                    addCriterion("attachment_type not in", values, "attachmentType");
                    return (Criteria) this;
                }

                public Criteria andAttachmentTypeBetween(String value1, String value2) {
                    addCriterion("attachment_type between", value1, value2, "attachmentType");
                    return (Criteria) this;
                }

                public Criteria andAttachmentTypeNotBetween(String value1, String value2) {
                    addCriterion("attachment_type not between", value1, value2, "attachmentType");
                    return (Criteria) this;
                }
                                    public Criteria andAttachmentSizeIsNull() {
                    addCriterion("attachment_size is null");
                    return (Criteria) this;
                }

                public Criteria andAttachmentSizeIsNotNull() {
                    addCriterion("attachment_size is not null");
                    return (Criteria) this;
                }

                public Criteria andAttachmentSizeEqualTo(Integer value) {
                    addCriterion("attachment_size =", value, "attachmentSize");
                    return (Criteria) this;
                }

                public Criteria andAttachmentSizeNotEqualTo(Integer value) {
                    addCriterion("attachment_size <>", value, "attachmentSize");
                    return (Criteria) this;
                }

                public Criteria andAttachmentSizeGreaterThan(Integer value) {
                    addCriterion("attachment_size >", value, "attachmentSize");
                    return (Criteria) this;
                }

                public Criteria andAttachmentSizeGreaterThanOrEqualTo(Integer value) {
                    addCriterion("attachment_size >=", value, "attachmentSize");
                    return (Criteria) this;
                }

                public Criteria andAttachmentSizeLessThan(Integer value) {
                    addCriterion("attachment_size <", value, "attachmentSize");
                    return (Criteria) this;
                }

                public Criteria andAttachmentSizeLessThanOrEqualTo(Integer value) {
                    addCriterion("attachment_size <=", value, "attachmentSize");
                    return (Criteria) this;
                }

                public Criteria andAttachmentSizeIn(List<Integer> values) {
                    addCriterion("attachment_size in", values, "attachmentSize");
                    return (Criteria) this;
                }

                public Criteria andAttachmentSizeNotIn(List<Integer> values) {
                    addCriterion("attachment_size not in", values, "attachmentSize");
                    return (Criteria) this;
                }

                public Criteria andAttachmentSizeBetween(Integer value1, Integer value2) {
                    addCriterion("attachment_size between", value1, value2, "attachmentSize");
                    return (Criteria) this;
                }

                public Criteria andAttachmentSizeNotBetween(Integer value1, Integer value2) {
                    addCriterion("attachment_size not between", value1, value2, "attachmentSize");
                    return (Criteria) this;
                }
                            public Criteria andKeycodeLike(String value) {
                    addCriterion("keycode like", value, "keycode");
                    return (Criteria) this;
                }

                public Criteria andKeycodeNotLike(String value) {
                    addCriterion("keycode not like", value, "keycode");
                    return (Criteria) this;
                }
                            public Criteria andKeycodeIsNull() {
                    addCriterion("keycode is null");
                    return (Criteria) this;
                }

                public Criteria andKeycodeIsNotNull() {
                    addCriterion("keycode is not null");
                    return (Criteria) this;
                }

                public Criteria andKeycodeEqualTo(String value) {
                    addCriterion("keycode =", value, "keycode");
                    return (Criteria) this;
                }

                public Criteria andKeycodeNotEqualTo(String value) {
                    addCriterion("keycode <>", value, "keycode");
                    return (Criteria) this;
                }

                public Criteria andKeycodeGreaterThan(String value) {
                    addCriterion("keycode >", value, "keycode");
                    return (Criteria) this;
                }

                public Criteria andKeycodeGreaterThanOrEqualTo(String value) {
                    addCriterion("keycode >=", value, "keycode");
                    return (Criteria) this;
                }

                public Criteria andKeycodeLessThan(String value) {
                    addCriterion("keycode <", value, "keycode");
                    return (Criteria) this;
                }

                public Criteria andKeycodeLessThanOrEqualTo(String value) {
                    addCriterion("keycode <=", value, "keycode");
                    return (Criteria) this;
                }

                public Criteria andKeycodeIn(List<String> values) {
                    addCriterion("keycode in", values, "keycode");
                    return (Criteria) this;
                }

                public Criteria andKeycodeNotIn(List<String> values) {
                    addCriterion("keycode not in", values, "keycode");
                    return (Criteria) this;
                }

                public Criteria andKeycodeBetween(String value1, String value2) {
                    addCriterion("keycode between", value1, value2, "keycode");
                    return (Criteria) this;
                }

                public Criteria andKeycodeNotBetween(String value1, String value2) {
                    addCriterion("keycode not between", value1, value2, "keycode");
                    return (Criteria) this;
                }
                                    public Criteria andStatusCdIsNull() {
                    addCriterion("status_cd is null");
                    return (Criteria) this;
                }

                public Criteria andStatusCdIsNotNull() {
                    addCriterion("status_cd is not null");
                    return (Criteria) this;
                }

                public Criteria andStatusCdEqualTo(Integer value) {
                    addCriterion("status_cd =", value, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdNotEqualTo(Integer value) {
                    addCriterion("status_cd <>", value, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdGreaterThan(Integer value) {
                    addCriterion("status_cd >", value, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdGreaterThanOrEqualTo(Integer value) {
                    addCriterion("status_cd >=", value, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdLessThan(Integer value) {
                    addCriterion("status_cd <", value, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdLessThanOrEqualTo(Integer value) {
                    addCriterion("status_cd <=", value, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdIn(List<Integer> values) {
                    addCriterion("status_cd in", values, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdNotIn(List<Integer> values) {
                    addCriterion("status_cd not in", values, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdBetween(Integer value1, Integer value2) {
                    addCriterion("status_cd between", value1, value2, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdNotBetween(Integer value1, Integer value2) {
                    addCriterion("status_cd not between", value1, value2, "statusCd");
                    return (Criteria) this;
                }
                                    public Criteria andCreatedStaffIdIsNull() {
                    addCriterion("created_staff_id is null");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdIsNotNull() {
                    addCriterion("created_staff_id is not null");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdEqualTo(Integer value) {
                    addCriterion("created_staff_id =", value, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdNotEqualTo(Integer value) {
                    addCriterion("created_staff_id <>", value, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdGreaterThan(Integer value) {
                    addCriterion("created_staff_id >", value, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdGreaterThanOrEqualTo(Integer value) {
                    addCriterion("created_staff_id >=", value, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdLessThan(Integer value) {
                    addCriterion("created_staff_id <", value, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdLessThanOrEqualTo(Integer value) {
                    addCriterion("created_staff_id <=", value, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdIn(List<Integer> values) {
                    addCriterion("created_staff_id in", values, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdNotIn(List<Integer> values) {
                    addCriterion("created_staff_id not in", values, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdBetween(Integer value1, Integer value2) {
                    addCriterion("created_staff_id between", value1, value2, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdNotBetween(Integer value1, Integer value2) {
                    addCriterion("created_staff_id not between", value1, value2, "createdStaffId");
                    return (Criteria) this;
                }
                                    public Criteria andCreatedDtIsNull() {
                    addCriterion("created_dt is null");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtIsNotNull() {
                    addCriterion("created_dt is not null");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtEqualTo(Date value) {
                    addCriterion("created_dt =", value, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtNotEqualTo(Date value) {
                    addCriterion("created_dt <>", value, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtGreaterThan(Date value) {
                    addCriterion("created_dt >", value, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtGreaterThanOrEqualTo(Date value) {
                    addCriterion("created_dt >=", value, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtLessThan(Date value) {
                    addCriterion("created_dt <", value, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtLessThanOrEqualTo(Date value) {
                    addCriterion("created_dt <=", value, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtIn(List<Date> values) {
                    addCriterion("created_dt in", values, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtNotIn(List<Date> values) {
                    addCriterion("created_dt not in", values, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtBetween(Date value1, Date value2) {
                    addCriterion("created_dt between", value1, value2, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtNotBetween(Date value1, Date value2) {
                    addCriterion("created_dt not between", value1, value2, "createdDt");
                    return (Criteria) this;
                }
                                    public Criteria andOperateStaffIdIsNull() {
                    addCriterion("operate_staff_id is null");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdIsNotNull() {
                    addCriterion("operate_staff_id is not null");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdEqualTo(Integer value) {
                    addCriterion("operate_staff_id =", value, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdNotEqualTo(Integer value) {
                    addCriterion("operate_staff_id <>", value, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdGreaterThan(Integer value) {
                    addCriterion("operate_staff_id >", value, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdGreaterThanOrEqualTo(Integer value) {
                    addCriterion("operate_staff_id >=", value, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdLessThan(Integer value) {
                    addCriterion("operate_staff_id <", value, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdLessThanOrEqualTo(Integer value) {
                    addCriterion("operate_staff_id <=", value, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdIn(List<Integer> values) {
                    addCriterion("operate_staff_id in", values, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdNotIn(List<Integer> values) {
                    addCriterion("operate_staff_id not in", values, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdBetween(Integer value1, Integer value2) {
                    addCriterion("operate_staff_id between", value1, value2, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdNotBetween(Integer value1, Integer value2) {
                    addCriterion("operate_staff_id not between", value1, value2, "operateStaffId");
                    return (Criteria) this;
                }
                                    public Criteria andVersionIsNull() {
                    addCriterion("version is null");
                    return (Criteria) this;
                }

                public Criteria andVersionIsNotNull() {
                    addCriterion("version is not null");
                    return (Criteria) this;
                }

                public Criteria andVersionEqualTo(Date value) {
                    addCriterion("version =", value, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionNotEqualTo(Date value) {
                    addCriterion("version <>", value, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionGreaterThan(Date value) {
                    addCriterion("version >", value, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionGreaterThanOrEqualTo(Date value) {
                    addCriterion("version >=", value, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionLessThan(Date value) {
                    addCriterion("version <", value, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionLessThanOrEqualTo(Date value) {
                    addCriterion("version <=", value, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionIn(List<Date> values) {
                    addCriterion("version in", values, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionNotIn(List<Date> values) {
                    addCriterion("version not in", values, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionBetween(Date value1, Date value2) {
                    addCriterion("version between", value1, value2, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionNotBetween(Date value1, Date value2) {
                    addCriterion("version not between", value1, value2, "version");
                    return (Criteria) this;
                }
                            public Criteria andDownloadUrlLike(String value) {
                    addCriterion("download_url like", value, "downloadUrl");
                    return (Criteria) this;
                }

                public Criteria andDownloadUrlNotLike(String value) {
                    addCriterion("download_url not like", value, "downloadUrl");
                    return (Criteria) this;
                }
                            public Criteria andDownloadUrlIsNull() {
                    addCriterion("download_url is null");
                    return (Criteria) this;
                }

                public Criteria andDownloadUrlIsNotNull() {
                    addCriterion("download_url is not null");
                    return (Criteria) this;
                }

                public Criteria andDownloadUrlEqualTo(String value) {
                    addCriterion("download_url =", value, "downloadUrl");
                    return (Criteria) this;
                }

                public Criteria andDownloadUrlNotEqualTo(String value) {
                    addCriterion("download_url <>", value, "downloadUrl");
                    return (Criteria) this;
                }

                public Criteria andDownloadUrlGreaterThan(String value) {
                    addCriterion("download_url >", value, "downloadUrl");
                    return (Criteria) this;
                }

                public Criteria andDownloadUrlGreaterThanOrEqualTo(String value) {
                    addCriterion("download_url >=", value, "downloadUrl");
                    return (Criteria) this;
                }

                public Criteria andDownloadUrlLessThan(String value) {
                    addCriterion("download_url <", value, "downloadUrl");
                    return (Criteria) this;
                }

                public Criteria andDownloadUrlLessThanOrEqualTo(String value) {
                    addCriterion("download_url <=", value, "downloadUrl");
                    return (Criteria) this;
                }

                public Criteria andDownloadUrlIn(List<String> values) {
                    addCriterion("download_url in", values, "downloadUrl");
                    return (Criteria) this;
                }

                public Criteria andDownloadUrlNotIn(List<String> values) {
                    addCriterion("download_url not in", values, "downloadUrl");
                    return (Criteria) this;
                }

                public Criteria andDownloadUrlBetween(String value1, String value2) {
                    addCriterion("download_url between", value1, value2, "downloadUrl");
                    return (Criteria) this;
                }

                public Criteria andDownloadUrlNotBetween(String value1, String value2) {
                    addCriterion("download_url not between", value1, value2, "downloadUrl");
                    return (Criteria) this;
                }
            }


}